package com.nts.bupna.model;

import java.util.Iterator;
import java.util.List;


public class Vars implements Iterable<Var>{
    private List<Var> vars;

    @Override
    public Iterator<Var> iterator() {
        return vars.iterator();
    }

    public int count() {
        return vars.size();
    }

    @Override
    public String toString() {
        return "Vars [vars=" + vars + "]";
    }

    public void setVars(List<Var> varList) {
        vars = varList;
    }
}